package com.cloud.customer.service;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description:
 *
 * @ClassName: CustomerService
 * @Author: Jameson Yang
 * @Date: created in 13:38 11/22/18
 */
@Service
@FeignClient("SERVICE-ONE")
public interface CustomerService {

    @RequestMapping(value = "/sone/dc")
    String getFromClient(@RequestParam(value = "source") String name);

}
